package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.io.IOException;

@Controller
public class IndexController {
    @RequestMapping(value = "good")
    @ResponseBody
    public String good() throws IOException {

        UpFile.upload2();
        return "good";
    }
}
